var webpack=require('webpack');
module.exports={
    entry:'./entry.js',
    output:{
        path:__dirname,
        filename:'bundle.js'
    },
    module:{
        loaders:[
            // 样式处理
            {'test':/\.css$/,loader:'style-loader!css-loader'},
        ]
    },
    plugins:[
        new webpack.BannerPlugin('this file is created by li xian cheng')
    ]
}